﻿using System;
using System.Runtime.Serialization;

namespace AsyncDBClient.Models
{
    [Serializable]
    [DataContract]
    public class Address
    {
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        public Cabinet Cabinet { get; set; }
        [DataMember]
        public string StreetName { get; set; }
        [DataMember]
        public int StreetNumber { get; set; }
        [DataMember]
        public int ZipCode { get; set; }
        [DataMember]
        public string City { get; set; }
        [DataMember]
        public string Letter { get; set; }
        [DataMember]
        public string Floor { get; set; }
        [DataMember]
        public string StairCasePosition { get; set; }


    }
}
